package test;

public class test_5_6

{
    //literal
    public static void main(String[] args)
    {

        printliteral();
    }

    public static void printliteral(){
        //输出常见的字面量，直接写
        System.out.println(1);
        System.out.println(1.0);
        System.out.println('a');
        System.out.println("a");
        System.out.println(true);
        System.out.println(false);
        System.out.println("null");
        System.out.println(1.0f);
        System.out.println(1L);
        System.out.println(1.0d);

    }
}
